﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace RoslynEvalApp.EvalTargets
{
    class OtherA
    {
        public void OtherMethodA()
        {
            BaseA ba = new BaseA();
            ba.MethodA();
        }

        public void OtherMethodDerived1A()
        {
            // Derived1Aの型なのにDerived2CがCalledSymbolに上がるのはなぜ？
            //Derived1A d1a = (Derived1A)(BaseA)new Derived2C();
            Derived1A d1a = new Derived1A();
            d1a.MethodA();
        }
    }
}
